<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "goods".
 *
 * @property string $goods_id
 * @property integer $source
 * @property integer $status
 * @property integer $category_1
 * @property integer $category_3
 * @property integer $brand_id
 */
class Goods extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'd_try.goods';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['source', 'status', 'category_1', 'category_3', 'brand_id'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'goods_id' => 'Goods ID',
            'source' => 'Source',
            'status' => 'Status',
            'category_1' => 'Category 1',
            'category_3' => 'Category 3',
            'brand_id' => 'Brand ID',
        ];
    }
}
